from django.urls import path
from .views import article_list, create_article, edit_article, delete_article, get_tags, create_tag

urlpatterns = [
    path('', article_list, name='article_list'),
    path('create/', create_article, name='create_article'),
    path('get_tags/', get_tags, name='get_tags'),
    path('create_tag/', create_tag, name='create_tag'),
    path('edit/<int:article_id>/', edit_article, name='edit_article'),
    path('delete/<int:article_id>/', delete_article, name='delete_article'),
]
